package model;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author LUIS
 */

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
//import javax.xml.bind.annotation.XmlAttribute;
//import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
//import javax.xml.bind.annotation.XmlType;

@XmlSeeAlso({Character.class,Inanimate.class})
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public abstract class Object {
	
	protected String id;
	protected String name;
	protected String desc;
	protected String type;
	/**
	 * 
	 * Types: Characters: C(character),I(Inanimate);
	 * 
	 **/
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	public String getType() {
		return type;
	}
		
	public void setType(String type) {

		this.type = type;
	}
	/*public void draw(){
		
	}
	*/
	
	//metodos abstractos
	public int getDireccion(){
		return 0;
	}
	public void girarH(){}
	public void girarA(){}
	public void imprimir(){ //esta clase servira para imprimir cualquier clase
	}
}

